package xyz.jcat.common.exception;

/**
 * 业务异常
 */
public class BusinessException extends RuntimeException {

    public static final String MESSAGE_DATA_NOT_FOUND = "数据不存在";
    public BusinessException(String message) {
        super(message);
    }
    /**
     * 业务异常，无需记录异常堆栈信息
     *
     * @return
     */
    @Override
    public synchronized Throwable fillInStackTrace() {
        return null;
    }
}
